package com.kun97.im.dal.mapper;

import com.kun97.im.model.UserMessage;
import org.apache.ibatis.annotations.Param;

public interface UserMessageMapper {
    int deleteByPrimaryKey(Integer uid);

    int insert(UserMessage record);

    int insertSelective(UserMessage record);

    UserMessage selectByPrimaryKey(Integer uid);

    UserMessage select(@Param("username") String username, @Param("password") String password);

    UserMessage selectByUserName(@Param("username") String username);

    int updateByPrimaryKeySelective(UserMessage record);

    int updateByPrimaryKey(UserMessage record);
}